package com.one.entity;

import java.util.List;

public class Housekeeping {
    //家政人员的ID
    private int hk_id;
    //用户的ID
    private int user_id;
    //联系方式
    private String hk_tel;
    //家政的状态 3种状态 1-空闲，2-接单中，0-隐身
    private int hk_status;
    //家政的展示信息
    private String hk_information;
    //服务积分 服务积分是家政服务人员每次服务产生积分的累计，评分标准为（-5~5，默认是1分）
    private int hk_score;

    private List<Server> servers;

    //空的构造方法
    public Housekeeping(){}

    //一般的构造方法
    public Housekeeping(int hk_id, int user_id, String hk_tel
            , int hk_status, String hk_information, int hk_score) {
        this.hk_id = hk_id;
        this.user_id = user_id;
        this.hk_tel = hk_tel;
        this.hk_status = hk_status;
        this.hk_information = hk_information;
        this.hk_score = hk_score;

    }

    public int getHk_id() {
        return hk_id;
    }

    public void setHk_id(int hk_id) {
        this.hk_id = hk_id;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public String getHk_tel() {
        return hk_tel;
    }

    public void setHk_tel(String hk_tel) {
        this.hk_tel = hk_tel;
    }

    public int getHk_status() {
        return hk_status;
    }

    public void setHk_status(int hk_status) {
        this.hk_status = hk_status;
    }

    public String getHk_information() {
        return hk_information;
    }

    public void setHk_information(String hk_information) {
        this.hk_information = hk_information;
    }

    public int getHk_score() {
        return hk_score;
    }

    public void setHk_score(int hk_score) {
        this.hk_score = hk_score;
    }

    public List<Server> getServers() {
        return servers;
    }

    public void setServers(List<Server> servers) {
        this.servers = servers;
    }

    @Override
    public String toString() {
        return "Housekeeping{" +
                "hk_id=" + hk_id +
                ", user_id=" + user_id +
                ", hk_tel='" + hk_tel + '\'' +
                ", hk_status=" + hk_status +
                ", hk_information='" + hk_information + '\'' +
                ", hk_score=" + hk_score +
                ", servers=" + servers +
                '}';
    }
}
